<!--{eval $_TPL['titles'] = array('群组');}-->
<!--{template header}-->
<div class="searchbar">
<form method="get" action="network.html">
	<input name="key" value="" size="26" class="t_input" type="text">
	<input name="searchsubmit" value="搜索群组" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<input type="hidden" name="ac" value="mtag" />
</form>
</div>
<h2 class="title"><img src="image/app/mtag.gif">群组</h2>
<div class="tabs_header">
	<ul class="tabs">
		<li$actives[me]><a href="space.html?do=mtag"><span>我的群组</span></a></li>
		<li><a href="network.html?ac=mtag&view=hot"><span>热门群组</span></a></li>
		<li><a href="space.html?uid=$space[uid]&do=thread"><span>群组最新话题</span></a></li>
		<li><a href="space.html?uid=$space[uid]&do=thread&view=me"><span>我发起的话题</span></a></li>
		<li class="null"><a href="cp.html?ac=mtag">创建我的群组</a></li>
		<li class="null"><a href="cp.html?ac=thread">发起新话题</a></li>
	</ul>
</div>

<div id="content">	
	<!--{if $list}-->
	<div class="box">
	<ul class="thread_list">
	<!--{loop $list $value}-->
		<li>
			<div class="threadimg60"><a href="space.html?do=mtag&tagid=$value[tagid]"><img src="$value[pic]" style="width:60px;"></a></div>
			<!--{if $value[grade]>=8}-->[群主]<!--{elseif $value[grade]=='-2'}-->[待批]<!--{/if}--><a href="space.html?do=mtag&tagid=$value[tagid]">$value[tagname]</a><br />
			<span class="thread_cat"><a href="space.html?do=mtag&id=$value[fieldid]">{$_SGLOBAL[profield][$value[fieldid]][title]}</a></span><br />已有 <span class="num">$value[membernum]</span> 人加入
		</li>
	<!--{/loop}-->
	</ul>
	<div class="page">$multi</div>
	</div>
	<!--{else}-->
	<div class="c_form">还没有群组。</div>
	<!--{/if}-->
	
</div>

<div id="sidebar">
	
	<!--{if $threadlist}-->
	<div class="sidebox">
		<h2 class="title">这些群组的最新话题</h2>
		<ul class="line_list">
		<!--{loop $threadlist $value}-->
			<li>
				<p><a href="space.html?uid=$value[uid]&do=thread&id=$value[tid]">$value[subject]</a></p>
				<p class="gray"><a href="space.html?uid=$value[uid]">{$_SN[$value[uid]]}</a> 发表于 <a href="space.html?do=mtag&tagid=$value[tagid]">$value[tagname]</a></p>
			</li>
		<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
	
</div>
<!--/sidebar-->
<!--{template footer}-->
